package com.bocai.utils;

public enum OrderStatus {

    Pending(0), // 订单待定状态，等待投注延迟结束
    Active(1), // 订单正常
    Settled(2),    // 订单已结算
    Cancelled(3),    // 订单已被取消
    Invalid(4),    // 订单无效
    Rejected(5),     // 订单被拒绝，投注延迟期间发生重要事件等原因
    ;

    private Integer value = 0;

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    private OrderStatus(Integer value){
        this.value = value;
    }
}
